package org.jetlinks.community.rule.engine.entity;
/**
 * 告警信息对象 dv_alarm
 *
 * @author wangyu
 * @date 2023-11-22
 */
public class DvAlarm
{
    private static final long serialVersionUID = 1L;

    /** 告警记录ID */
    private String alarmRecordId;

    /** 告警配置名称 */
    private String alarmConfigName;

    /** 告警配置ID */
    private String alarmConfigId;

    /** 告警时间 */
    private Long alarmTime;

    /** 告警设备id */
    private String sourceId;

    /** 告警设备名称 */
    private String sourceName;

    private int level;

    private String description;

    private String targetType;

    private String targetName;

    private String targetId;

    private String sourceType;

    private String alarmInfo;

    private String bindings;

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getAlarmInfo() {
        return alarmInfo;
    }

    public void setAlarmInfo(String alarmInfo) {
        this.alarmInfo = alarmInfo;
    }

    public String getBindings() {
        return bindings;
    }

    public void setBindings(String bindings) {
        this.bindings = bindings;
    }

    public void setAlarmRecordId(String alarmRecordId)
    {
        this.alarmRecordId = alarmRecordId;
    }

    public String getAlarmRecordId()
    {
        return alarmRecordId;
    }
    public void setAlarmConfigName(String alarmConfigName)
    {
        this.alarmConfigName = alarmConfigName;
    }

    public String getAlarmConfigName()
    {
        return alarmConfigName;
    }
    public void setAlarmConfigId(String alarmConfigId)
    {
        this.alarmConfigId = alarmConfigId;
    }

    public String getAlarmConfigId()
    {
        return alarmConfigId;
    }
    public void setAlarmTime(Long alarmTime)
    {
        this.alarmTime = alarmTime;
    }

    public Long getAlarmTime()
    {
        return alarmTime;
    }
    public void setSourceId(String sourceId)
    {
        this.sourceId = sourceId;
    }

    public String getSourceId()
    {
        return sourceId;
    }
    public void setSourceName(String sourceName)
    {
        this.sourceName = sourceName;
    }

    public String getSourceName()
    {
        return sourceName;
    }

    @Override
    public String toString() {
        return "DvAlarm{" +
                ", alarmRecordId='" + alarmRecordId + '\'' +
                ", alarmConfigName='" + alarmConfigName + '\'' +
                ", alarmConfigId='" + alarmConfigId + '\'' +
                ", alarmTime=" + alarmTime +
                ", sourceId='" + sourceId + '\'' +
                ", sourceName='" + sourceName + '\'' +
                ", level=" + level +
                ", description='" + description + '\'' +
                ", targetType='" + targetType + '\'' +
                ", targetName='" + targetName + '\'' +
                ", targetId='" + targetId + '\'' +
                ", sourceType='" + sourceType + '\'' +
                ", alarmInfo='" + alarmInfo + '\'' +
                ", bindings=" + bindings +
                '}';
    }
}
